<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
    protected function _initDbAdaptor()
    {
        $options = $this->getOptions();
        /*?><pre><?php print_r($options); ?></pre><?php*/

        $db_options = $options['resources']['db']['params'];
        
        $db = Zend_Db::factory('Pdo_Mysql', $db_options);
        Zend_Registry::set('db_adaptor', $db);

        
    }
}

